package com.hjqjl.whdemo.feature.feature0.model;


import com.hjqjl.whdemo.base.BaseResponseModel;

import java.util.List;

public class GetImagesModel extends BaseResponseModel {
    private ResultModel result;

    public ResultModel getResult() {
        return result;
    }

    public void setResult(ResultModel result) {
        this.result = result;
    }

    public static class ResultModel {
        private int total;
        private List<ListModel> list;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListModel> getList() {
            return list;
        }

        public void setList(List<ListModel> list) {
            this.list = list;
        }

        public static class ListModel {
            private int id;
            private String title;
            private String url;
            private String type;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            @Override
            public String toString() {
                final StringBuffer sb = new StringBuffer("ListModel{");
                sb.append("id=").append(id);
                sb.append(", title='").append(title).append('\'');
                sb.append(", url='").append(url).append('\'');
                sb.append(", type='").append(type).append('\'');
                sb.append('}');
                return sb.toString();
            }
        }

        @Override
        public String toString() {
            final StringBuffer sb = new StringBuffer("ResultModel{");
            sb.append("total=").append(total);
            sb.append(", list=").append(list);
            sb.append('}');
            return sb.toString();
        }
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("GetImages{");
        sb.append("result=").append(result);
        sb.append('}');
        return sb.toString();
    }
}
